package com.sms.plateform.kernel.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.sms.plateform.kernel.service.impl.BaseServiceImpl;
import com.sms.plateform.kernel.dao.IGroupInfoDao;
import com.sms.plateform.kernel.entity.GroupInfo;
import com.sms.plateform.kernel.service.IGroupInfoService;

public class GroupInfoServiceImpl extends BaseServiceImpl<GroupInfo,IGroupInfoDao> implements IGroupInfoService {

	public List<HashMap<String, Object>> listUserGroupPriceInfo(Map<String, Object> param){
		// TODO Auto-generated method stub
		return this.getBaseDao().listUserGroupPriceInfo(param);
	}
	public HashMap<String, Object> getUserGroupPriceInfo(Map<String, Object> param){
		// TODO Auto-generated method stub
		List<HashMap<String, Object>> listHashMap=this.getBaseDao().listUserGroupPriceInfo(param);
		if(listHashMap.size()<1){
			return null;
		}
		return listHashMap.get(0);
	}
}
